package model

import (
	"gorm.io/gorm"
	"gorm.io/plugin/soft_delete"
)

type BaseModel struct {
	ID        uint `gorm:"primarykey" json:"id" form:"id"`
	CreatedAt int64
	UpdatedAt int64
	DeletedAt soft_delete.DeletedAt `gorm:"index"`
}

var ModelDb *gorm.DB
